package operator;

/**
 * @author yuisama
 * @date 2022/08/17 10:10
 * 关系运算符
 **/
public class RelationOperation {
    public static void main(String[] args) {
//        int a = 10;
//        int b = 20;
//        System.out.println(a == b); // 判断两个变量的值是否相等
//        System.out.println(a < b);
//        System.out.println(a > b);
//        System.out.println(a >= b);
//        System.out.println(a <= b);
//        System.out.println(a != b);
//        // 在Java中不能出现多次判断，不能连着写
////        System.out.println(0 < a < 20);
//        int a = 6;
//        double b = 5.1;
//        System.out.println(a <= b);
//        System.out.println(a == b);
        char c = 'a';
        int b = 20;
        System.out.println(b < c);
    }
}